<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">

<head th:replace="_fragments_anthor :: head(~{::title})">
    <meta charset="UTF-8">
    <!--移动端的展示情况-->
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>归档</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css">
    <link rel="stylesheet" href="../static/css/me.css">
    <link rel="stylesheet" href="../static/css/writing.css">
    <link rel="stylesheet" href="../static/css/style.css">
</head>

<body>
<div id="particles-js"></div>
    <!--导航-->
    <nav th:replace="_fragments_anthor :: menu(4)" class="ui inverted attached segment m-padded-tb-mini navDiv-active">
        <div class="ui teal header">
            <div class="ui inverted secondary stackable menu">
                <h2 class="ui teal header item">Turo</h2>
                <a href="#" class="m-item item m-mobile-hide"><i class="mini home icon"></i>首页</a>
                <a href="#" class="m-item item m-mobile-hide"><i class="mini idea icon"></i>分类</a>
                <a href="#" class="m-item item m-mobile-hide"><i class="mini tags icon"></i>标签</a>
                <a href="#" class="m-item item m-mobile-hide"><i class="mini clone icon"></i>归档</a>
                <a href="#" class="m-item item m-mobile-hide"><i class="mini info icon"></i>关于我</a>
                <div class="right m-item item m-mobile-hide">
                    <div class="ui icon inverted transparent input">
                        <input type="text" placeholder="Search....">
                        <i class="search link icon"></i>
                    </div>
                </div>
            </div>
        </div>
        <a href="#" class="ui menu toggle black icon button m-right-top m-mobile-show">
            <i class="sidebar icon"></i>
        </a>

    </nav>

    <div class="ui blogImg">
        <img th:src="@{/img/new3.jpg}"  alt="" class="ui rounded fluid image">
        <div class="ui blogTitle">
            <div class="blogZi">
                <p class="ui center aligned header font-s" >努力的意义就是，以后的生活里，一眼望去，</p>
                <p class="ui center aligned header font-s" >全都是自己喜欢的东西和事情。</p>
                <p class="ui center aligned header font-s">困难过去了，你的人生将会变得平坦而幸福。</p>
                <p class="ui center aligned header font-s nbsp"> ———高五毛———</p>
            </div>
        </div>
    </div>

    <!--中间部分-->
    <div class="m-container-small m-padded-tb-big archivesMiddle">
        <div class="ui container ">
            <div class="ui top attached padded segment">
                <div class="ui middle aligned two column grid">
                    <div class="column">
                        <h3 class="ui teal header">归档</h3>
                    </div>
                    <div class="right aligned column">
                        共
                        <h2 class="ui orange header m-inline-block m-text-thin" th:text="${blogCount}">114</h2>篇博客
                    </div>
                </div>
            </div>

            <th:block th:each="item:${archiveMap}">
                <h3 class="ui center aligned header" th:text="${item.key}">2020</h3>

                <a th:href="@{/blog/{id}(id=${blog.id})}" target="_blank" class="item" th:each="blog:${item.value}">

                <div class="ui top attached segment sanDa grid archivesGui">
                    <div class="ui row padded raised link card segment article ">
                        <div class="eleven wide column">
                                <span>
                                     <i class="mini teal circle icon"></i>
                                </span>
                                <span th:text="${blog.title}">关于可以练习的清单</span>

                                <div class="ui teal basic left pointing label m-padded-mini" th:text="${#dates.format(blog.updateTime,'MMMdd')}">9月03日</div>
                        </div>
                        <div class="right aligned five wide column ">
                            <div class="ui orange basic left pointing label m-padded-mini" th:text="${blog.flag}">原创</div>
                        </div>
                    </div>
                </div>

                </a>
            </th:block>

        </div>
    </div>
    <!--底部footer-->
    <footer th:fragment="footer" class="ui inverted vertical segment m-padded-tb-massive bottom">
        <div class="ui center aligned container bottom-one">
            <div class="ui inverted divided stackable grid " id="bottom-two">
                <div class="three wide column">
                    <div class="ui inverted link list">
                        <div class="item">
                            <img src="../static/img/wechat.jpg" th:src="@{/img/wechat.jpg}" class="ui rounded image" alt="" style="width: 110px">
                        </div>
                    </div>
                </div>
                <div class="three wide column">
                    <h4 class="ui inverted header m-text-spaced m-opacity-mini">学习网站 </h4>
                    <div class="ui inverted link list">
                        <a href="https://github.com/" class="item"><i class="github icon"></i>GitHub</a>
                        <a href="https://www.bilibili.com/" class="item"><i class="bullhorn icon"></i>BiliBili</a>
                        <a href="https://gitee.com/" class="item"><i class="git icon"></i>Gitee</a>
                        <a href="" class="item"><i class="paper plane icon"></i>CSDN</a>
                    </div>
                </div>
                <div class="three wide column">
                    <h4 class="ui inverted header  m-text-spaced m-opacity-mini">联系我</h4>
                    <div class="ui inverted link list">
                        <a href="#" class="item" th:text="#{index.email}">Email: none-j@qq.com</a>
                        <a href="#" class="item">QQ: 1521126127</a>
                    </div>
                </div>
                <div class="seven wide column">
                    <h4 class="ui inverted header  m-text-spaced m-opacity-mini">Turo</h4>
                    <p class="m-text-thin m-text-spaced m-opacity-mini">这是我的个人博客、会分享关于编程、写作、学习、思考相关的任何内容，希望可以给来到这的人有所帮助……</p>
                </div>
            </div>
            <div class="ui inverted section divider "></div>
            <div>
                <div class="m-text-thin m-text-spaced m-opacity-tiny" id="time"></div>
                <p class="m-text-thin m-text-spaced m-opacity-tiny">Copyright @2021-2022 Turo Designed by Turo</p>
            </div>
        </div>
    </footer>


    <!--/*/<th:block th:replace="_fragments :: script">/*/-->
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js"></script>
    <script src="../static/lib/js/particles.min.js"></script>
    <script src="../static/lib/js/app.js"></script>
    <script src="../static/lib/Since/writing.js"></script>
    <!--/*/</th:block>/*/-->
    <script>
        $('.menu.toggle').click(function() {
            $('.m-item').toggleClass('m-mobile-hide');
        });
    </script>
</body>

</html>